<?php
/**
 * Actions related to the homepage of the site.
 *
 * @package    actions
 * @subpackage home
 */
class settingsActions extends sfGraduaActions
{
    function executeIndex($request) {
        sfLoader::loadHelpers(array('Partial','Php2Js'));
        $this->getResponseJsCall()
            ->displayDialog(
                partial2Js(
                    'settings/settings',
                    array(),
                    false
                )
            )
            ->addPhpParam('width',800)
            ->addPhpParam('height',600);
        return sfView::NONE;
    }
}
